<div class="row">
    <!-- left column -->
    <div class="col-md-12">
        <!-- general form elements -->
        <div class="box box-primary">
            <div class="box-header with-border">
                <h3 class="box-title">新增内容</h3>
            </div>
            <!-- /.box-header -->
            <!-- form start -->
            <form class="form-horizontal" role="form" method="post" action="/adv/add" enctype="multipart/form-data">
                <div class="box-body">

                    <div class="form-group">
                        <label for="position" class="col-sm-2 control-label">标识</label>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" id="position"  placeholder="标题" value="" name="position" required="required">
                            <p class="help-block">调用广告标识：<font>{</font>{Adv "标识"}<font>}</font></p>
                        </div>
                    </div>

                    <div class="form-group">
                        <label for="title" class="col-sm-2 control-label">标题</label>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" id="title"  placeholder="标题" value="" name="title" required="required">
                        </div>
                    </div>

                    <div class="form-group">
                        <label for="content" class="col-sm-2 control-label">广告代码</label>
                        <div class="col-sm-10">
                            <textarea name="content" id="content" class="form-control" rows="10" placeholder="广告代码"></textarea>
                        </div>
                    </div>

                    <div class="form-group">
                        <label for="sort" class="col-sm-2 control-label">排序</label>
                        <div class="col-sm-10">
                            <input type="number" class="form-control" id="sort" placeholder="排序" name="sort" value="0" required="required">
                        </div>
                    </div>
                    <!-- /.box-body -->

                    <div class="box-footer">
                        <button type="submit" class="btn btn-primary">提交</button>
                    </div>
                </div>
            </form>
        </div>
        <!-- /.box -->


    </div>
</div>
<script src="/public/adminlit/bower_components/jquery/dist/jquery.min.js"></script>
<!-- Bootstrap WYSIHTML5 -->
<script src="/public/adminlit/plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.all.min.js"></script>
<!-- CK Editor -->
<script src="/public/adminlit/bower_components/ckeditor/ckeditor.js"></script>
<!-- Bootstrap WYSIHTML5 -->
<script src="/public/adminlit/plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.all.min.js"></script>
<script>
    $(function () {
        CKEDITOR.replace('desc')
    })
</script>